package com.cal.utms.dto.maintenance;

import java.util.ArrayList;
import java.util.List;

public class DealTypeDto {
	private int id;
	private String code;
	private String dealType;
	private String description;
	private byte rollover;
	private byte shortMaturity;
	private List<DealTypeDto> dealTypeDtos = new ArrayList<DealTypeDto>();
	private boolean success;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDealType() {
		return dealType;
	}

	public void setDealType(String dealType) {
		this.dealType = dealType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public byte getRollover() {
		return rollover;
	}

	public void setRollover(byte rollover) {
		this.rollover = rollover;
	}

	public byte getShortMaturity() {
		return shortMaturity;
	}

	public void setShortMaturity(byte shortMaturity) {
		this.shortMaturity = shortMaturity;
	}

	public List<DealTypeDto> getDealTypeDtos() {
		return dealTypeDtos;
	}

	public void setDealTypeDtos(List<DealTypeDto> dealTypeDtos) {
		this.dealTypeDtos = dealTypeDtos;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

}
